package com.fh.shop.admin.common;

public enum ResponseEnum implements IEnum{

    ERROR(-1, "ERROR"),
    OK(200, "OK");

    private int code;

    private String msg;

    private ResponseEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }


    @Override
    public int getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
